package com.pan.service;

import com.pan.annotation.CouponCheck;
import com.pan.annotation.OrderItemsCheck;
import com.pan.entity.Result;
import com.pan.vo.OrderItemVo;

import java.util.List;

public interface OrderCreateService {
    @OrderItemsCheck
    Result createOrderNoCoupon(String userTicket,String address, List<OrderItemVo> orderItems);

    @CouponCheck
    @OrderItemsCheck
    Result createOrder(String userTicket,String address, List<OrderItemVo> orderItems, Long couponHistoryId);
}
